package com.gmstu.defaults.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author John.zhang
 * @version Id: Member, v 1.0 2020/9/1 17:41 ZhiYong Exp $
 */
@Data
@Entity
@Table(name="gm_member")
public class Member implements Serializable {

    @Id
    private Long id;

    @Column(name = "name")
    private String name;

    private String Address;

    private Integer age;
}
